class crmlogin():
    def __init__(self,driver):
        self.driver=driver

    def login_name(self,user):
        self.driver.find_element_by_xpath("//input[@name='username']").send_keys(user)
    def login_password(self,password):
        self.driver.find_element_by_xpath("//input[@name='password']").send_keys(password)
        self.driver.find_element_by_xpath('//button[@class="el-button submit-btn el-button--default"]').click()
